// http://localhost:3000/search/hot
import request from '@/utils/request'

// 热门搜索(关键字)
export const hotSearchNameAPI = () => request({
    url: "/search/hot"
})

// 热门搜索(列表)
export const hotSearchListAPI = params => request({
    url: "/search",
    params // keywords: 关键字
})